<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Gpay操作日志</title>
    <link href="/static/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="/static/css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="/static/css/animate.css" rel="stylesheet">
    <link href="/static/css/style.css?v=4.1.0" rel="stylesheet">
</head>
<body class="gray-bg">
    <div class="container wrapper wrapper-content animated fadeInRight">
    <div class="ibox float-e-margins">
    <div class="ibox-title">
        <h5>操作日志</h5>
        <button onclick="javascript:location.reload();" type="button" class="btn btn-sm btn-outline btn-danger" style="margin-left:15px;margin-top: -6px;">刷 新</button>
        <span style="float:right;">
    </div>
    <div class="ibox-content">
        <div class="table-responsive">
            <table class="table table-striped">
                <thead>
                    <tr>
                        <th>id</th>
                        <th>ip地址</th>
                        <th>操作内容</th>
                        <th>时间</th>

                    </tr>
                </thead>
                <tbody>
                    <?php
                        foreach ($log as $v) {
                            echo "<tr>";
                            echo "<td>{$v['id']}</td>";
                            echo "<td>{$v['ip']}</td>";
                            echo "<td>{$v['operation']}</td>";
                            echo "<td>{$v['time']}</td>";
                        }
                    ?>

                </tbody>
            </table>
        </div>
    </div>
</div>
    </div>
</body>
